FROM  repository.dayu.work/imiddleground/nginx

# Copy the default nginx.conf
COPY nginx.conf /etc/nginx/nginx.conf

# Copy the built files
COPY webapp /usr/share/nginx/html

# 新增时区设置
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

# Expose port 80
EXPOSE 80
